package org.millioncall.yueyoga.admin.dao;

import java.util.List;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Hall;

public interface HallDAO {
	public int deleteByPrimaryKey(Integer id);

    public int insert(Hall record);

    public int insertSelective(Hall record);

    public Hall selectByPrimaryKey(Integer id);

    public int updateHallById(Hall record);

    public int updateByPrimaryKey(Hall record);

	public List<Hall> findHalls();

	public Hall findByName(String name);

	public Hall findByCode(String code);

	public PaginatedList<Hall> getStatusInPage(int start, int limit);

	public void deleteByIds(Integer[] deids);
	
	public List<Hall> findHallsByGroupId(int gpId);
	
}